"use client";

import "./PageContainer.scss";

type PageContainerProps = {
    children: React.ReactNode;
    onScroll?: (e?: React.UIEvent) => void;
    className?: string;
    style?: React.CSSProperties;

};

const PageContainer = ({ children, onScroll, className, style }: PageContainerProps) => {

    return (
        <div onScroll={onScroll} style={style} className={`pageContainer ${className}`}>
            <a id="TopAnchor"></a>
            {children}
        </div>
    );
};

export default PageContainer;
